package com.iflyun.rabbitmqcustmer.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.iflyun.rabbitmqcustmer.dao.WeChatProducerDao;
import com.iflyun.rabbitmqcustmer.domain.WeChatLog;
import com.iflyun.rabbitmqcustmer.service.WeChatProducerService;



@Service("weChatProducerService")
public class WeChatProducerServiceImpl extends BaseServiceImpl<WeChatLog> implements WeChatProducerService{

	@Resource(name="weChatProducerDao")
	private WeChatProducerDao weChatProducerDao;

	@Override
	public int setWeChatLog(WeChatLog weChatLog) {
		int i = weChatProducerDao.setWeChatLog(weChatLog);
		return i;
	}

	@Override
	public void saveWeChatLog(List<WeChatLog> list) {
		weChatProducerDao.saveWeChatLog(list);
		
	}

	@Override
	public void setWeChatList(List<WeChatLog> list) {
		weChatProducerDao.setWeChatList(list);
		
	}
	
}
